.home_card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  position: relative;

  .home_card_header {
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .home_card_left, .home_card_right {
      .home_card_sub_title {
        color: #9291A5;
        font-feature-settings: 'clig' off, 'liga' off;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
      }

      .home_card_title {
        color: #1E1B39;
        font-feature-settings: 'clig' off, 'liga' off;
        font-family: PingFang SC;
        font-size: 22px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
      }
    }

    .home_card_left {
      text-align: left;
    }

    .home_card_right {
      text-align: right;
    }

    .home_card_tab {
      padding: 10px;
      box-sizing: border-box;
      border-radius: 16px;
      background: #F8F8FF;
      color: #9291A5;
      position: relative;

      .home_card_content {
        text-align: center;
        font-family: PingFang HK;
        font-size: 14px;
        font-weight: 400;
        display: flex;
        align-items: center;
      }

      .home_card_tab_item {
        width: 80px;
        height: 35px;
        line-height: 35px;
        cursor: pointer;
        box-sizing: border-box;
        transition: color 0.3s ease-out;
        z-index: 2;
      }

      .home_card_tab_item_active {
        color: #fff;
      }

      .home_card_active {
        width: 100%;
        position: absolute;
        top: 10px;
        left: 0;
        padding: 0 10px;
        transition: left 0.3s ease-out;

        .home_card_item_active {
          width: 80px;
          height: 35px;
          padding: 10px 15px;
          box-sizing: border-box;
          border-radius: 8px;
          background: #1E1B39;
          color: #fff;
          z-index: 1;
        }
      }
    }
  }

  .home_card_content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;

    .chart_box {
      width: 100%;
      height: 100%;
    }
  }

  .spin_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
  }
}